package com.czkt.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.czkt.entity.OrdersLine;
import com.czkt.entity.Product;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class OrdersLineAndOrders extends OrdersLine implements Serializable {

    /**
     * 订单编号
     */
    @TableId(value = "odr_id", type = IdType.AUTO)
    private Long odrId;

    /**
     * 客户编号
     */
    private String odrCustomer;

    /**
     * 日期
     */
    @DateTimeFormat(pattern = "yyyy")
    private Date odrDate;

    /**
     * 送货地址
     */
    private String odrAddr;

    /**
     * 状态
     */
    private String odrStatus;

}
